package com.tonghe.vo.sys;

import com.tonghe.domain.entity.Role;
import com.tonghe.domain.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoAndRoleIdsVo {

    /** 用户 */
    private User user;

    /** 权限 */
    private List<Role> roles;

    /** 权限id */
    private List<Long> roleIds;

}
